import request from '@/util/request'

export function insertDeviceViewComponentGroup(data) {
  return request({
    url: '/iot/device/view/component/group/insert',
    method: 'post',
    data
  })
}

export function updateDeviceViewComponentGroup(data) {
  return request({
    url: '/iot/device/view/component/group/update',
    method: 'post',
    data
  })
}

export function listDeviceViewComponentGroup(data) {
  return request({
    url: '/iot/device/view/component/group/list',
    method: 'post',
    data
  })
}

export function deleteDeviceViewComponentGroup(data) {
  return request({
    url: '/iot/device/view/component/group/delete',
    method: 'post',
    data
  })
}

